﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace AP.Framework.Infrastructure.Entities
{
    public class cms_Article
    {
        public int ID { get; set; }
        public int ChannelID { get; set; }
        public int CategoryId { get; set; }
        public int DisplayStyle { get; set; }
        [Required(ErrorMessage = "频道名称不能为空!")]
        [StringLength(100, ErrorMessage = "长度不能超过100个字符!")]
        public string Title { get; set; }
        public string Author { get; set; }
        public string Form { get; set; }
        public string ZhaiYao { get; set; }
        public string LinkUrl { get; set; }
        public string ImageUrl { get; set; }
        public string SeoTitle { get; set; }
        public string SeoKeyWords { get; set; }
        public string SeoDescription { get; set; }
        public string Content { get; set; }
        [Range(1, 9999, ErrorMessage = "只能输入数字!")]
        public int? Sequence { get; set; }
        public bool IsDisable { get; set; }
        public string CreateBy { get; set; }
        public DateTime? CreateTime { get; set; }
        public string ModifyBy { get; set; }
        public DateTime? ModifyTime { get; set; }
    }


}
